﻿<UserControl
    x:Class="RuneMasterWin8.Views.TopToolBar"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:RuneMasterWin8.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400" Width="1366" Height="159" IsHitTestVisible="False">
    
    <Grid>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="152"/>
    		<ColumnDefinition Width="338"/>
    		<ColumnDefinition/>
    	</Grid.ColumnDefinitions>
    	<Image Source="ms-appx:///Images/TopToolBar.png" Stretch="Fill" Grid.ColumnSpan="3"/>
    	<Image x:Name="imgTool1" Margin="22,15,0,0" Source="ms-appx:///Images/Tools/add500.png" Stretch="Fill" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="61" Width="61"/>
    	<Image x:Name="imgTool2" Margin="127,15,0,0" Source="ms-appx:///Images/Tools/add500.png" Stretch="Fill" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="61" Width="61"/>
    	<Image x:Name="imgTool3" Margin="234,15,0,0" Source="ms-appx:///Images/Tools/add500.png" Stretch="Fill" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="61" Width="61"/>
    	<TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" Text="{Binding Text, ElementName=txtSpriteCount}" VerticalAlignment="Center" FontSize="64" Foreground="Black" FontWeight="Bold" RenderTransformOrigin="0.5,0.5" Margin="0,0,0,8">
    		<TextBlock.RenderTransform>
    			<CompositeTransform TranslateX="3" TranslateY="3"/>
    		</TextBlock.RenderTransform>
    	</TextBlock>
    	<TextBlock x:Name="txtSpriteCount" HorizontalAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="64" Foreground="White" FontWeight="Bold" Margin="0,0,0,8"/>
    	<ProgressBar x:Name="gameProcess" Grid.Column="2" HorizontalAlignment="Left" Height="90" VerticalAlignment="Top" Width="876" Margin="0">
    		<ProgressBar.Foreground>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    				<GradientStop Color="#FFD60014"/>
    				<GradientStop Color="#FF4D0007" Offset="1"/>
    			</LinearGradientBrush>
    		</ProgressBar.Foreground>
    	</ProgressBar>
    	<TextBlock x:Name="txtScoreStatus" Grid.Column="2" HorizontalAlignment="Center" Margin="0,21,0,0" TextWrapping="Wrap" Text="0/0" VerticalAlignment="Top" FontSize="42.667"/>
    </Grid>
</UserControl>
